home *** CD-ROM | disk | FTP | other *** search
- /*
- * MPWandTHINK.h
- *
- * Stupid differences in language/data type, etc.
- *
- * 10/30/90 wdh created in frustration
- */
-
- #ifndef __MPWandTHINK__
- #define __MPWandTHINK__
-
- #ifdef THINK_C
-
- #define LIGHTSPEED
- /* C++ and ANSI declarations Mike Kahl didn't implement */
- /*#define const /* eg, const short * foo: doesn't change */
- #define signed /* as opposed to unsigned */
- #define volatile /* don't put in registers */
-
- #define virtual /* C++ stuff */
- #undef MPW
-
- #else
-
- #undef LIGHTSPEED
- #define MPW
- #define AuxWinHndl AuxWinHandle /* MPW is wrong here */
- #define AuxCtlHndl AuxCtlHandle /* ditto */
- #define transIndex ctFlags /* ditto ditto */
- #define TRUE true
- #define FALSE false
-
- #endif THINK_C
-
- #define C /* language type (for Rez/C shared include files) */
-
- #ifndef NIL
- #define NIL ((void *) 0)
- #endif NIL
-
- #endif __MPWandTHINK__
-